<%--
  Created by IntelliJ IDEA.
  User: aming
  Date: 2023-07-12
  Time: 14:18
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/user?action=edit" method="post">
<%--    隐藏域--%>
    <input type="hidden" name="id" value="${user.id}">

    姓名：<input type="text" name="name" value="${user.name}"> <br>
    性别：<input type="text" name="gender" value="${user.gender}"> <br>
    年龄：<input type="text" name="age" value="${user.age}"> <br>
    地址：<input type="text" name="address" value="${user.address}"> <br>
    qq号：<input type="text" name="qq" value="${user.qq}"> <br>
    邮箱：<input type="text" name="email" value="${user.email}"> <br>
    生日：<input type="text" name="bir" value="${user.bir}"> <br>

    <input type="submit" value="更新">
</form>
</body>
</html>
